/* ── Animations ──────────────────────────────────────────── */
@keyframes tm-fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Section ─────────────────────────────────────────────── */
.testimonials-section {
  padding: 40px 20px;
  font-family: "DM Sans", system-ui, "Segoe UI", sans-serif;
  color: #fff;
  overflow: hidden;
  margin: 60px;
}

/* ── Header ──────────────────────────────────────────────── */
.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align:center;
  padding: 0 48px;
  margin-bottom: 48px;
  animation: tm-fadeUp 0.5s ease-out both;
}

.testimonials-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(212, 83, 126, 0.1);
  border: 1px solid rgba(212, 83, 126, 0.22);
  margin-bottom: 14px;
}

.testimonials-eyebrow span {
  font-size: 11px;
  font-weight: 600;
  color: #d4537e;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonials-title {
  font-size: clamp(3.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
}

.testimonials-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* ── Scroll outer ────────────────────────────────────────── */
.testimonials-scroll-outer {
  position: relative;
}

/* .testimonials-scroll-outer::before,
  .testimonials-scroll-outer::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 24px;
    width: 80px;
    pointer-events: none;
    z-index: 2;
  } */


/* ── Scroll track ────────────────────────────────────────── */
.testimonials-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 48px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

/* ── Card ────────────────────────────────────────────────── */
.testimonial-card {
  flex-shrink: 0;
  width: 300px;
  border-radius: 22px;
  background: #0e0e14;
  border: 1px solid rgba(255, 255, 255, 0.2);
  scroll-snap-align: start;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
  animation: tm-fadeUp 0.4s ease-out both;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.13);
}

/* Decorative large quote mark */
.testimonial-quote-mark {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  font-family: Georgia, serif;
  user-select: none;
  pointer-events: none;
}

/* ── Stars ───────────────────────────────────────────────── */
.testimonial-stars {
  display: flex;
  gap: 3px;
}

.testimonial-stars svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ── Quote text ──────────────────────────────────────────── */
.testimonial-quote {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  flex: 1;
  margin: 0;
}

/* ── Divider ─────────────────────────────────────────────── */
.testimonial-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

/* ── Person row ──────────────────────────────────────────── */
.testimonial-person {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 2px;
}

.testimonial-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.4;
  margin: 0;
}

/* ── Outcome pill ────────────────────────────────────────── */
.testimonial-outcome {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
}

.testimonial-outcome svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

/* ── Navigation ──────────────────────────────────────────── */
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  margin-top: 8px;
}

.testimonials-dots {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
}

.testimonials-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  border: none;
  transition:
    width 0.2s ease,
    background 0.2s ease,
    border-radius 0.2s ease;
}

.testimonials-dot.active {
  width: 20px;
  border-radius: 3px;
  background: #d4537e;
}

.testimonials-nav-btns {
  display: flex;
  gap: 10px;
}

.testimonials-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.testimonials-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .testimonials-header,
  .testimonials-nav {
    padding: 0 20px;
  }
  .testimonials-track {
    padding: 8px 20px 20px;
  }
  .testimonial-card {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 15px 0;
    margin: 20px;
  }

  .testimonials-track {
    padding: 18px;
    width: 96%;
  }

  .testimonials-title{
    font-size: 2.1rem;
  }
  .testimonials-subtitle{
    font-size: 1.5rem;
  }
  .testimonial-card {
    width: 290px;
    padding: 35px 15px;
  }
}
